/**
* @author AlbertDarren
* @contact 2563491540@qq.com
*/
#include <iostream>
#include <limits.h>
#include <cmath>
using namespace std;

int main_22()
{
    //problem 1
    int int_max=((1<<(sizeof(int)*8-1))-1),int_min=1<<(sizeof(int)*8-1);
    printf("%d %d\n",int_max,INT_MAX);
    printf("%d %d\n",int_min,INT_MIN);
    //problem 2
    const double PI=acos(-1);
    printf("%.10lf\n",PI);
    printf("%.15lf\n",PI);
    printf("%.20lf\n",PI);
    printf("%.25lf\n",PI);
    printf("%.40lf\n",PI);
    printf("%.70lf\n",PI);
    printf("%.100lf\n",PI);
    //problem 3
    //problem 4
    int a=0,b=1,c=1,x=1,y=2;
    printf("%d %d %d\n",a&&b||c,(a&&b)||c,a&&(b||c));
    //problem 5
    if(a) if(b) ++x;else ++y;
    printf("x=%d y=%d\n",x,y);
	return 0;
}
